package lhdx15;
//软件父类
public class Software {
    private String softwareBrand;
    private int size;

    public String getSoftwareBrand() {
        return softwareBrand;
    }

    public void setSoftwareBrand(String softwareBrand) {
        this.softwareBrand = softwareBrand;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public Software(String softwareBrand, int size) {
        this.softwareBrand = softwareBrand;
        this.size = size;
    }
    public Software(){

    }

    @Override
    public String toString() {
        return "软件名称：" + softwareBrand + '\'' +
                ",软件大小：" + size+"M" ;
    }
}
